<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>修改用户</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" href="<%=path%>/css/table.css" type="text/css">
	<script type="text/javascript" src="/RMS/js/jquery.js"></script>
	<script type="text/javascript" src="/RMS/js/user/update.js"></script>
	
  </head>
  
  <body style="text-aglin:center">
    <form action="main/user/update" method="post">
        
    <table style="position:relative;left:400px">
    	<tr> <td><h4>用户修改</h4></td></tr>
    	<tr><s:textfield label="用户ID" name="user.userId" readonly="true"/></tr>
    	<tr><s:textfield label="用户名" name="user.userName" readonly="true"/></tr>
    	<tr><s:textfield label="密码" name="user.password"/></tr>
    	<tr><s:textarea label="用户描述" name="user.userDesc"/></tr>
    	<%--<tr><s:textfield label="状态" name="user.status"/></tr>
    	--%><tr>
    	<s:checkboxlist label="用户角色" list="roleList" listKey="roleId" listValue="roleName"  name="roleIdArray" value="selectedRoleId"/>
    	</tr>
    	<tr><th>操作：</th><td><input type="submit" value="提交"/><input type="button" id="cancel" value="取消"></td></tr>
    </table>
    
    </form>  
  </body>
</html>
